<template>
  <div class="footer">
    <!-- 品牌信息组 -->
    <div class="brand-section">
      <img :src="logoImage2" alt="颐联汇" class="logo"/>
      <div class="platform-info">
        <h3>颐联汇智慧养老中枢</h3>
        <p>社区养老服务整合平台</p>
      </div>
    </div>

    <!-- 联系与版权组 -->
    <div class="contact-section">
      <div class="contact-group">
        <a href="tel:010-55669988" class="contact-link">
          <i class="fas fa-phone-alt"></i>
          客服专线：<span class="highlight">010-5566 9888</span>
        </a>
      </div>
    </div>
  </div>
</template>

<script setup>
// 品牌色系配置（基于[[0]](#__0) [[5]](#__5)）

import logoImage2 from '@/assets/images/logo2.png'

const brandColors = {
  primary: '#FF6B3C',  // 主色橙
  secondary: '#8DC63F', // 辅色绿
  accent: '#3F75DB'     // 强调蓝
}
</script>

<style scoped>
.footer {
  background: #FFF9F5; /* 品牌暖白背景（参考[[7]](#__7)） */
  border-top: 3px solid rgba(255, 107, 60, 0.1); /* 橙色系顶部分割线 */
  padding: 5px 20px;
  display: flex;
  flex-wrap: wrap; /* 响应式布局 */
  justify-content: space-between;
  align-items: center;
}

.brand-section {
  display: flex;
  align-items: center;
  gap: 16px;
}

.logo {
  width: 60px; /* 与导航栏LOGO统一尺寸 */
  height: auto;
}

.beian-footer {
  bottom: 0;
  width: 100%;
  text-align: center;

a {
  color: #666;
  font-size: 14px;
  text-decoration-line: underline;

&
:hover {
  color: #409EFF;
}

}
}
.platform-info h3 {
  color: var(--primary);
  font-size: 18px;
  margin-bottom: 4px;
  font-weight: 600; /* 匹配[[5]](#__5)品牌规范 */
}

.platform-info p {
  color: #666;
  font-size: 14px;
}

.contact-section {
  text-align: right;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #333;
  font-size: 16px;
  transition: color 0.3s;
}

.contact-link:hover {
  color: var(--primary); /* 悬停品牌色 */
}

.highlight {
  color: var(--primary);
  font-weight: 600;
}

.service-time {
  font-size: 12px;
  color: #999;
  margin-top: 4px;
}

.copyright {
  margin-top: 12px;
  font-size: 12px;
  color: #999;
  line-height: 1.5;
}

/* 响应式处理（适配[[8]](#__8)移动端规范） */
@media (max-width: 768px) {
  .footer {
    flex-direction: column;
    text-align: center;
  }

  .brand-section {
    flex-direction: column;
  }

  .contact-section {
    text-align: center;
  }
}


</style>
